/*
 * Ex2.h
 *
 *  Created on: Oct 10, 2013
 *      Author: Administrator
 */

#ifndef EX2_H_
#define EX2_H_
#include <iostream>
using namespace std;
class Ex2 {
	int a;
public:
	Ex2();
	Ex2(int a):a(a) {};
	virtual ~Ex2();
	Ex2 operator +(const Ex2& b);
	Ex2 operator -(const Ex2& b);
	void print( ostream& os ) const;
	Ex2 operator ++(int);
	Ex2& operator ++();
	Ex2 operator --(int);
	Ex2& operator --();
};

#endif /* EX2_H_ */
